package com.blog.user.service.impl;

import com.blog.user.dao.AuthPermissionDao;
import com.blog.user.pojo.AuthPermission;
import com.blog.user.service.AuthPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import com.blog.util.IdWorker;

import java.util.List;

/**
 * 这里分页使用的是pagehelper
 */
@Service
@Transactional(readOnly = false)
public class AuthPermissionServiceImpl implements AuthPermissionService {

    @Autowired
    private IdWorker idWorker;

    @Autowired
    private AuthPermissionDao authPermissionDao;


    @Override
    public List<AuthPermission> findAll(int page, int size, String query) {
        return null;
    }

    @Override
    public AuthPermission findById(String id) {
        return null;
    }

    @Override
    public void insert(AuthPermission authPermission) {

    }

    @Override
    public void update(AuthPermission authPermission) {

    }

    @Override
    public void deleteById(String id) {

    }
}